Skip to content

Fixing lgtm issue in basic graphs #1141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 20, 2019

Conversation

qckzr
Copy link
Contributor

@qckzr qckzr commented Aug 19, 2019

No description provided.

@@ -141,7 +141,7 @@ def dijk(G, s):
from collections import deque


def topo(G, ind=None, Q=[1]):
def topo(G, ind=None, Q):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Travis CI tests are failing. A proper workaround would be:

def topo(G, ind=None, Q=None):
    if Q is None:
        Q = [1]

@cclauss cclauss merged commit 2304e31 into TheAlgorithms:master Aug 20, 2019
@qckzr qckzr deleted the fixing-lgtm-basic_graphs branch December 23, 2019 22:48
stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
* Added print function into matrix_multiplication_addition.py and removed blank space in data_structures/binary tree directory

* Removed .vs/ folder per TheAlgorithms#893

* Rename matrix_multiplication_addition.py to matrix_operation.py

* Fixing lgtm issue in basic_graphs per #TheAlgorithms#1024

* Fixed lgtm issue per @cclauss recommendation in TheAlgorithms#1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants